package br.ufc.ck0017.frame.x86;

import br.ufc.ck0017.frame.Access;
import br.ufc.ck0017.ir.tree.IR;
import br.ufc.ck0017.ir.tree.IRNode;
import br.ufc.ck0017.temp.Temp;

public class X86InRegister implements Access {
    private final Temp temp;

    X86InRegister(Temp temp) {
        this.temp = temp;
    }

    @Override
    public IRNode translate(IRNode node) {
        return IR.TEMP(temp);
    }
}
